<?php
class CrontabController extends Controller{

	public function index(){
		$this->a();
	}

	public function a(){
	$i = 1;
	while ($i <= 10) {
	    echo $i++;  /* the printed value would be
	                    $i before the increment
	                    (post-increment) */
	}
	}
}